home *** CD-ROM | disk | FTP | other *** search
/ Programming Sound Cards / Programming Sound Cards.iso / sound_52 / func.hlp < prev    next >
Text File  |  1995-01-01  |  3KB  |  62 lines

  1. PREDEFINED RAVEL FUNCTIONS
  2.  
  3. addvector(&array,size,scalar) - add value to array
  4. bcopy(&srcarray,&destarray,count) - copy array to array
  5. ccontLinear(contr,bias,times,inc,count) - send continuous cont. msgs.
  6. close(fd) - close a file for i/o
  7. closeimage(handle) - ATARI ONLY. release degas file.
  8. divvector(&array,size,scalar) - divide scalar into array
  9. doAction(&array[i],count) - execute action data structure
  10. drunkwalk(last,lower,upper,inc,boundflag) - random drunk walk
  11. dumpstk(1) - Ravel internal debug only.
  12. dumptime() - print current event times to console
  13. expand(count,&inbuf,&outbuf,nsteps) - expand/contract motif
  14. getbpm() - return mos clock value
  15. getmsg(&array,size,manuid) - read sys excl into array
  16. getQevents() - return number of quarter time events elapsed
  17. getSubevents() - return remainder of events past quarter
  18. gettrans() - get current per channel transpose
  19. inport(port, &buf, size) - read buffer of size from port (ibm-pc)
  20. invert(&inbuf,&outbuf,count) - invert motif 
  21. mchoose(v1,v2,...) - randomly choose from integer values
  22. mclkseed() - random seed of generator according to timer clock
  23. mfractal1(last) - get fractal number
  24. mgetch() - get character from console
  25. mgetmchan() - get midi channel for current mos channel
  26. mgetmidi() - read midi input byte
  27. misch() - poll console input, 1 if ready, else 0
  28. mismidi() - poll midi input, true (1) if midi input is ready, else 0
  29. modvector(&array,size,scalar) - modulus on array
  30. mpause(time) - stop current voicelist for a time
  31. mputch(value) - write character to console
  32. mputmidi(value) - write byte to midi output
  33. mrand() - get random number 0..255
  34. mrandrange(first,last) - get random number between first and last inclusive
  35. mseed(seedval) - seed random number generator
  36. mseedfrac(value) - seed fractal generator
  37. msetmchan(chan) - set midi channel for current mos channel
  38. multvector(&array,size,scalar) - multipy scalar into array
  39. nomoschan() - total number of mos channels in use
  40. open("file",mode) -  open a file for i/o
  41. openimage("file",mode) - ATARI ONLY. read degas file.
  42. outport(port, &buf, size) - write buffer of size to port (ibm-pc)
  43. pbendLinear(bias,poff,time,inc,count) - send pitch bend messages.
  44. printf("string", vars...) - print values to console
  45. printnote(note,newline) - print Ravel note constant to console.
  46. printtime(time,newline) - print Ravel time constant to console.
  47. rand() - return random number between 0 and maxint
  48. read(fd,&array,size) - read from file into array
  49. regdsp(count,&inbuf,&outbuf,®buf) - register displacement on motif
  50. restoreimage() - ATARI ONLY. restore to original screen 
  51. retro(&inbuf,&outbuf,count) - retrograde conversion on motif
  52. rdmidi(&array, size) - read midi input into buffer
  53. seek(fd,where,how) - seek in file.
  54. sendmsg(&array,size,manuid) - write array as sys excl msg
  55. setkey(key) - set runtime idea of key.
  56. settrans(trans) - set per channel transpose
  57. showimage(handle) - ATARI ONLY. display degas file.
  58. subvector(&array,size,scalar) - subtract value from array
  59. triangle(lower,upper) - triangle distribution 
  60. write(fd,&array,size) - write from array into file.
  61. wrtmidi(&array,size) - raw write out midi port
  62.